package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysHpPublicVideoRowMapper implements RowMapper<SysHpPublicVideo>{



	@Override
	public SysHpPublicVideo mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysHpPublicVideo  lj= new SysHpPublicVideo();
		lj.setVideo_number(rs.getString("video_number"));
		lj.setVideo_device_coding(rs.getString("video_device_coding"));
		lj.setVideo_name(rs.getString("video_name"));
		lj.setVideo_lng(rs.getString("video_lng"));
		lj.setVideo_lat(rs.getString("video_lat"));
		lj.setMonitor_direction(rs.getString("Monitor_direction"));
		lj.setVideo_device_status(rs.getString("video_device_status"));
		return lj;
	}

}
